<div [class]="global.theme['theme']">
<ion-menu [content]="content">
  <ion-content>
    <div id='headDiv'>
      <img src="assets/img/avatar/girl-avatar.png" class="head">
    </div>
    <ion-list no-lines>
      <ion-list-header>
        菜单
      </ion-list-header>
      <button ion-item menuClose class="slideMenu" (click)="moveTo(item.page)" *ngFor="let item of items">
        <ion-icon [name]="item.icon" item-start></ion-icon>{{item.name}}
      </button>
    </ion-list>
  </ion-content>
  <ion-footer>
    <ion-toolbar >
      <button ion-button clear menuClose color='gray' style="width:45%" ><ion-icon name="settings"></ion-icon>设置</button>
      <button ion-button clear menuClose color='gray' style="width:45%" (click)="moveTo('ThemePage')"><ion-icon name="color-palette"></ion-icon>主题</button>
    </ion-toolbar>
  </ion-footer>
</ion-menu>

<ion-nav [root]="rootPage" #content></ion-nav>
</div>